﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace DevExpress.MailClient.Win.Controls.File_tabs
{
    public partial class ucFileHistories : DevExpress.XtraEditors.XtraUserControl
    {
        public PRO_DOCS.DAL.Database.ARCHIVE_DEPARTMENT_FILE CURRENT_ARCHIVE_DEPARTMENT_FILE
        {
            set
            {
                List<PRO_DOCS.DAL.Database.ARCHIVE_DEPARTMENT_FILE_HISTORY> aRCHIVE_DEPARTMENT_FILE_HISTORies = value.ARCHIVE_DEPARTMENT_FILE_HISTORies.ToList();
                //new PRO_DOCS.DAL.Database.ARCHIVE_DEPARTMENT_FILE_HISTORY ().
                //gridControl1.DataSource 
                gridControl1.DataSource = aRCHIVE_DEPARTMENT_FILE_HISTORies;
            }
        }

        public ucFileHistories()
        {
            InitializeComponent();
        }
    }
}
